home *** CD-ROM | disk | FTP | other *** search
/ Adobe Graphics & Publishing SDK 1996 December / Adobe Graphics & Publishing SDK 1996 December.iso / mac / PageMaker 6.5 SDK Mac / SourceCode / PageMakerClassLibrary / Queries / PGetTransform.cpp < prev    next >
C/C++ Source or Header  |  1996-09-04  |  1KB  |  42 lines

  1. /*
  2.  *--- PGetTransform.cpp ---------------------------------------------------
  3.  * Copyright (c) 1995-96 Adobe Systems Incorporated.  All rights reserved.
  4.  * Created on Sun, Oct 22, 1995 @ 4:49 PM by Paul Ferguson.
  5.  *
  6.  * Description:  For notes about this class, refer to the
  7.  * PCL documentation file PGetTransform.html
  8.  *-------------------------------------------------------------------------
  9.  */
  10.  
  11. #include "PGetTransform.h"
  12. #include "PQuery.h"
  13. #include "PReplyBuf.h"
  14.  
  15. const size_t REPLY_SIZE = (14 * 4) + 2;        // fourteen longs, one PMBool
  16.  
  17. PGetTransform::PGetTransform()
  18. {
  19.     char temp[REPLY_SIZE];
  20.     
  21.     PQuery query(pm_gettransform, temp, REPLY_SIZE);
  22.     PReplyBuf reply(temp);
  23.     
  24.     reply     >>    dRotateAngle
  25.             >>    dSkewAngle
  26.             >>    bXReflect
  27.             >>    xLeftTopOrig
  28.             >>    yLeftTopOrig
  29.             >>    xRightBotOrig
  30.             >>    yRightBotOrig
  31.             >>    xLeftTop
  32.             >>    yLeftTop
  33.             >>    xRightTop
  34.             >>    yRightTop
  35.             >>    xRightBottom
  36.             >>    yRigihtBottom
  37.             >>    xLeftBottom
  38.             >>    yLeftBottom;
  39. }
  40.  
  41. // end of PGetTransform.cpp
  42.